package cn.yujiago.miaosha.entity;

import cn.yujiago.miaosha.component.CustomDoubleSerialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.io.Serializable;

@Data
public class Goods implements Serializable {

	private Long id;
	private String goodsName;
	private String goodsImg;
	private String goodsDetail;
	@JsonSerialize(using = CustomDoubleSerialize.class)
	private Double goodsPrice;
	private Integer goodsStock;

}
